package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Eventpunish;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface EventpunishService {

	public Eventpunish saveEventpunish(Eventpunish eventpunish);

	public Set<Eventpunish> loadEventpunishs();

	public Set<Eventpunish> loadReferenceEventpunishs(Set<Eventpunish> eventpunishs);

	public Set<Eventpunish> loadEventpunishsByIdSet(Set<Integer> eventpunishsId);

	public Map<String, ?> loadEventpunishObjectReferencedSet(Eventpunish eventpunish);

	public Map<String, ?> loadEventpunishClassReferencedSet(Eventpunish eventpunish);

	public void deleteEventpunish(Eventpunish eventpunish);

	public void deleteEventpunishs(Set<Integer> deleteEventpunishsId);

	public List<Eventpunish> findAllEventpunishs(Integer startResult, Integer maxRows);

	public Eventpunish findEventpunishByPrimaryKey(Integer id);

	public Integer countEventpunishs();

	public Integer countEventpunishs(CmiPagination page);

	public Integer countEventpunishsByName(String queryName);

	public Integer countEventpunishsByDetachedCriteria(CmiPagination page);

}
